package sel.me.spring.boot159.web.annotation;

import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.context.annotation.ImportBeanDefinitionRegistrar;
import org.springframework.core.type.AnnotationMetadata;

public class TestAnnotationImportBeanDefinitionRegistrar implements ImportBeanDefinitionRegistrar {

	private static int i= 1;
	
	@Override
	public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) {
		for(int i =0;i <10;i++ ) {
			System.out.println("TestAnnotationImportBeanDefinitionRegistrar" + i);
		}
		TestAnnotationImportBeanDefinitionRegistrar.i++;
	}

}
